<?php
namespace app\index\validate;
use think\Validate;

class Base extends Validate
{

    public function checkVerCode($value)
    {
        if($value==session('answer')){
            return true;
        }else{
            return false;
        }
    }

}